package model

import "gorm.io/gorm"

type Novel struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"json:"username"`
	Password string `gorm:"type:char(32)"json:"password"`
}
type Story struct {
	gorm.Model
	Img    string `gorm:"type:varchar(500)"json:"img"`
	Title  string `gorm:"type:varchar(50)"json:"title"`
	About  string `gorm:"type:varchar(200)"json:"about"`
	Status string `gorm:"type:varchar(20)"json:"status"`
}
